Skip to content

Conversation

@hiifong
Copy link
Member

@hiifong hiifong commented Aug 11, 2025

This behavior is basically the same as GitHub, except for the dividing line I added.

screenshot:

image image image image

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 11, 2025
@github-actions github-actions bot added modifies/translation modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/migrations labels Aug 11, 2025
@hiifong hiifong closed this Aug 11, 2025
@lunny lunny added this to the 1.25.0 milestone Aug 11, 2025
@wxiaoguang
Copy link
Contributor

Please split preparePullViewReviewAndMerge into small functions, but not introduce a new preparePullViewSquashMergeMsg to call everywhere.

And it needs tests to cover the changed logic (although old code doesn't have enough tests, new code should have when the logic is complex)

@wxiaoguang
Copy link
Contributor

This part seems not right, Co-xxx should be at the end.

image

@hiifong
Copy link
Member Author

hiifong commented Aug 11, 2025

This part seems not right, Co-xxx should be at the end.

image

Done.

image

@hiifong
Copy link
Member Author

hiifong commented Aug 11, 2025

Let me spend some time researching how to add tests.

@silverwind
Copy link
Member

image

Style nit: there should be no empty line between such metadata lines.

@hiifong hiifong marked this pull request as draft August 15, 2025 03:26
* main:
  [skip ci] Updated translations via Crowdin
  Fix LFS range size header response (go-gitea#35277)
  Skip "parentsigned" check when the repo is empty (go-gitea#35292)
  [skip ci] Updated translations via Crowdin
  Fix GitHub release assets URL validation (go-gitea#35287)
  nix flake use go1.25 (go-gitea#35288)
  go1.25.0 (go-gitea#35262)
@appleboy
Copy link
Member

@hiifong Thanks for your contribution. Any progress on this?

* main: (34 commits)
  when sorting issues by nearest due date, issues without due date should be sorted ascending (go-gitea#35267)
  [skip ci] Updated translations via Crowdin
  Upgrade xz to v0.5.15 (go-gitea#35377)
  Refactor db package (go-gitea#35380)
  Remove the duplicated function GetTags (go-gitea#35375)
  [skip ci] Updated translations via Crowdin
  Allow foreachref parser to grow its buffer (go-gitea#35365)
  Remove global context from db package (go-gitea#35371)
  Use gitrepo.SetDefaultBranch when set default branch of wiki repository (go-gitea#33911)
  Deleting branch could delete broken branch which has database record but git branch is missing (go-gitea#35360)
  Remove incorrect "db.DefaultContext" usages (go-gitea#35366)
  Refactor to use reflect.TypeFor (go-gitea#35370)
  [skip ci] Updated translations via Crowdin
  Remove wrong "git.DefaultContext" (go-gitea#35364)
  Fix context usages (go-gitea#35348)
  Instance signing rule `pubkey` should allow all public keys, not just GPG (go-gitea#35357)
  Allow deleting comment with content via API like web did (go-gitea#35346)
  Prevent duplicate actions email (go-gitea#35215)
  rename nightly docker tag for main branch (go-gitea#35344)
  Fix atom/rss mixed error (go-gitea#35345)
  ...

# Conflicts:
#	tests/integration/pull_merge_test.go
@hiifong hiifong marked this pull request as ready for review August 31, 2025 12:19
@hiifong
Copy link
Member Author

hiifong commented Aug 31, 2025

image

Style nit: there should be no empty line between such metadata lines.

Done,
image

@hiifong
Copy link
Member Author

hiifong commented Aug 31, 2025

@hiifong Thanks for your contribution. Any progress on this?

already for review

* main:
  [skip ci] Updated translations via Crowdin
  Use github.com/mholt/archives replace github.com/mholt/archiver (go-gitea#35390)
  Move some functions from package git to gitrepo (go-gitea#33910)
  Move git config/remote to gitrepo package and add global lock to resolve possible conflict when updating repository git config file (go-gitea#35151)
  Move HasWiki to repository service package (go-gitea#33912)
  Rename UpdateBranch API to RenameBranch API (go-gitea#35374)
@hiifong hiifong requested review from lunny and wxiaoguang September 2, 2025 03:14
@wxiaoguang
Copy link
Contributor

-> Use GitHub-style commit message for squash merge #35987

@wxiaoguang wxiaoguang closed this Nov 20, 2025
@lunny lunny removed this from the 1.26.0 milestone Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants